#ifndef RRCUBOID_H
#define RRCUBOID_H

#include "rrprim.h"

enum RRSURFACE {RR_UPPER, RR_DOWN, RR_FRONT, RR_REAR, RR_RIGHT, RR_LEFT};

class RRCuboid : public RRPrim
{
private:
    void rrHitSurface(RRRay *ray, RRSURFACE dir, RRCrossInfo *arg);

public:
    RRCuboid();
    void rrTrace(RRRay *ray, RRCrossInfo *arg);
};

#endif // RRCUBOID_H
